package iedcyt.acute.result;



import java.util.List;

public class Result<E> {

	private String _message;
	private List<E> _transfers;
	private int _eventCode;
	private boolean _ok;
	
	public Result(String _message, List<E> _transfers, int _eventCode, boolean _ok) {
		super();
		this._message = _message;
		this._transfers = _transfers;
		this._eventCode = _eventCode;
		this._ok = _ok;
	}
	
	public String get_message() {
		return _message;
	}
	public void set_message(String _message) {
		this._message = _message;
	}
	public List<E> get_transfers() {
		return _transfers;
	}
	public void set_transfers(List<E> _transfers) {
		this._transfers = _transfers;
	}
	public int get_eventCode() {
		return _eventCode;
	}
	public void set_eventCode(int _eventCode) {
		this._eventCode = _eventCode;
	}

	public void set_ok(boolean _ok) {
		this._ok = _ok;
	}

	public boolean is_ok() {
		return _ok;
	}

	
	
}
